Trying again to make a global classifier as it might improve our performance. Basically, the idea is to stack up on CSPDR features, which are supposed to be the same size. Then, I'll go ahead and fit the same kind of classifier we've been dealing with and classify the output as we've already been doing.
Shouldn't even need to modify the utils to do this, as I can just supply the same feature list, make subject training and test matrices and stack them up after scaling.
In [1]:
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
%matplotlib inline
plt.rcParams['figure.figsize'] = 8, 12
plt.rcParams['axes.grid'] = True
plt.set_cmap('brg')
Using the traditional probablygood features, but with CSP and dimensionality reduction.
In [3]:
cd ..
In [2]:
import json
In [4]:
with open("settings/forestselection_gavin.json") as f:
fsettings = json.load(f)
In [5]:
fsettings["FEATURES"]
Out[5]:
In [ ]: